<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
   
    <title>登录</title>
    <script src="./js/jquery-3.5.0.min.js"></script>
    <link rel="stylesheet" type="text/css" href="css/login.css">
</head>

<body>
    <div class="content">
        <div class="avatar">百分OA办公系统</div>
        <div class="loginOrRegisterBox">
            <ul class="witch">
                <li id="loginButton">登录</li>
                <li id="registerButton">注册</li>
            </ul>
            <div id="form">
                <form action="doLogin" method="post" id="login">
                <span th:text="${session.error}"></span>
                    <input type="text" placeholder="用户名 " name="username">
                    <input type="password" placeholder="密码" name="userpassword">
                    <div>
                        <input type="checkbox" name="" id="">
                        <p>记住密码</p>

                    </div>
                    <input type="submit" value="登 录">
                </form>
                <form action="doRegister" method="post" id="register">
                <span th:text="${session.error}"></span>
                    <input type="text" placeholder="用户名" name="username">
                    <input type="password" placeholder="密码" name="userpassword">
                    <input type="submit" value="立即注册">
                </form>
                <div id="create">Created By &#64;Songothao</div>
            </div>
        </div>
    </div>

    <script src="./js/login.js"></script>
</body>

</html>